﻿@model Stardust.Models.ClienteBean

@{
    ViewBag.Title = "Modificar Cliente Juridico";
}

<h2>Modificar Cliente Juridico</h2>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine-en.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validationEngine.js")" type="text/javascript"></script>

@using (Html.BeginForm("ModificarClienteJuridico", "Cliente", FormMethod.Post, new { @class = "form", id = "validate" }))
{
   
<form action = "" class = "form" >

   <fieldset>

        <legend>Cliente Juridico</legend>
        @Html.HiddenFor(model => model.ID)
    
        <div class="formRow">
            <label>Razón Social</label>
            <div class="formRight">
                @Html.TextBoxFor(m => m.razonSocial, new { @class = "validate[required,custom[onlyLetterSp]]", name = "lettersValid", maxlength = "30" })
            </div>
            <div class = "clear"></div>
        </div>
                
        <div class="formRow">
            <label>RUC</label>
            <div class="formRight">
                 @Html.TextBoxFor(m => m.nroDocumento, new { @class = "validate[required,custom[onlyNumberSp]]", name = "numsValid", maxlength = "11", minlength = "1" }) 
            </div>
            <div class = "clear"></div>
        </div>
            
        <p>
            <input type="submit" value="Guardar" class = "redB" />
        </p>

    </fieldset>

</form>
}
